package com.hqj.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hqj.entity.TRole;
import com.hqj.dao.TRoleDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hqj
 * @since 2020-06-11
 */
@Service
public class TRoleServiceImpl extends ServiceImpl<TRoleDao, TRole> implements IService<TRole> {

    @Autowired
    private TRoleDao rd;

    public List<TRole> findUserRoleMenu(int uid) {
        return rd.findUserRoleMenu(uid);
    }
}
